from functools import wraps

from house import app


def separator(func):

    @wraps(func)
    def wrapper(*args, **kwargs):

        result = func(*args, **kwargs)

        return result

    return wrapper


@app.task
@separator
def show_msg(msg):
    print(msg)
